import { DictionaryType, TableKeyListItemType } from "@/common/types/conf";

// 筛选字典
export const dictionary: DictionaryType = {
  status: [
    { value: 0, label: "禁用" },
    { value: 1, label: "未开考" },
    { value: 2, label: "考试中" },
    { value: 3, label: "已结束" },
  ],
  isEnabled: [
    { value: 0, label: "禁用" },
    { value: 1, label: "启用" },
  ],
  cycleType: [
    { value: 1, label: "仅一次" },
    { value: 2, label: "每日一次" },
    { value: 3, label: "每周一次" },
    { value: 4, label: "每月一次" },
  ],
};

// 列表 value name
export const tableKeyList: Array<TableKeyListItemType> = [
  {
    key: "name",
    label: "姓名",
  },
  {
    key: "phone",
    label: "手机号",
  },
];
